[php]
; Set some more PHP parameters
enable_dl = Off
short_open_tag = On
allow_url_fopen = On

; Change default values of important constants
max_input_vars = 10000
max_file_uploads = 100
max_execution_time = 300
post_max_size = 128M
memory_limit = 256M
upload_max_filesize = 128M
pcre.backtrack_limit = 1000000
pcre.recursion_limit = 14000
realpath_cache_size = 4096k

; Error
display_errors = Off
error_log = "/var/log/php/error.log"
error_reporting = E_ALL ^ E_DEPRECATED
log_errors = On
display_startup_errors = On

[mbstring]
; Utf-8 support
mbstring.func_overload = 2
mbstring.internal_encoding = "UTF-8"

[date]
date.timezone = "Europe/Moscow"

[opcache]
opcache.revalidate_freq = 0
opcache.validate_timestamps = 1
opcache.max_accelerated_files = 100000
opcache.memory_consumption = 512
opcache.fast_shutdown = 1
opcache.error_log = "/var/log/php/opcache.log"
